package com.audaque.springboot.foshanupload.redis.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.*;
import lombok.NoArgsConstructor;


import java.io.Serializable;

/**
 * @author zgb
 * @desc ...
 * @date 2021-06-25 16:07:38
 */
@Schema(description = "列表遍历事件异步执行结果")
@Data

@NoArgsConstructor
@AllArgsConstructor

public class AsyncResultDto implements Serializable {
    private static final long serialVersionUID = -1242493306307174690L;
    @Schema(description = "是否已全部生产")
    private Boolean allProductYn;
    @Schema(description = "是否已全部消费")
    private Boolean allComsumeYn;
    @Schema(description = "是否已全部消费成功")
    private Boolean allComsumeSuccessYn;
    @Schema(description = "参数行数")
    private Integer paramInteger;
    @Schema(description = "生产行数")
    private Integer productInteger;
    @Schema(description = "消费行数")
    private Integer consumeInteger;
    @Schema(description = "消费成功行数")
    private Integer consumeSuccessInteger;
    @Schema(description = "生产消息结束时入库记录数")
    private Integer productEndDbCount;
    @Schema(description = "消费消息结束时入库记录数")
    private Integer consumeEndDbCount;
    @Schema(description = "开始时间")
    private String startTime;
    @Schema(description = "生产消息结束时间")
    private String productEndTime;
    @Schema(description = "消费消息结束时间")
    private String consumeEndTime;
    @Schema(description = "结束时间")
    private String endTime;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "备注号")
    private String remarkCode;
    @Schema(description = "拉取结果重试次数")
    private Integer retryCount;

}
